package com.leyou;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author wgc
 * @create 2019-03-31 19:47
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.leyou.item.mapper")
public class LyItemAppliation {
    protected static Logger logger = LoggerFactory.getLogger(LyItemAppliation.class);

    public static void main(String[] args) {
        logger.info("********************service startup******************************");
            SpringApplication.run(LyItemAppliation.class,args);
        logger.info("********************service startup successfull******************************");


    }

}
